package com.cool.reggie.modules.setmealdish.service.impl;

import com.cool.reggie.modules.setmeal.entity.SetmealEntity;
import com.cool.reggie.modules.setmealdish.entity.SetmealDishEntity;
import com.cool.reggie.modules.setmealdish.mapper.SetmealDishMapper;
import com.cool.reggie.modules.setmealdish.service.SetmealDishService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 套餐菜品关系 服务实现类
 * </p>
 *
 * @author 1950735817@qq.com
 * @since 2022-07-12
 */
@Service
public class SetmealDishServiceImpl extends ServiceImpl<SetmealDishMapper, SetmealDishEntity> implements SetmealDishService {

    @Autowired
    private SetmealDishMapper setmealDishMapper;

    @Override
    public SetmealEntity getByIdWithDishes(Long id) {
        setmealDishMapper.queryByIdWithDishes(id);
        return null;
    }
}
